home *** CD-ROM | disk | FTP | other *** search
/ QuickTime VR Showcase / QuickTime VR Showcase.iso / 3rd Parties / Software / Apple / AMT 2.1 New Features Demo / SOURCES / oAMT_Information_5.k < prev    next >
Encoding:
Text File  |  1996-12-21  |  12.9 KB  |  615 lines  |  [TEXT/MPS ]

  1. object oAMT_Information_5 is cDefaultContainer
  2. with
  3.     Binder is oBinder;
  4.     Label is -1;
  5.     Items is [
  6.         oKeyboard_Volume__5_4,
  7.         oClick_Sound__Up__5_13,
  8.         oClick_Sound__down__5_14,
  9.         oAI_BCK_PIC_5_5,
  10.         oAMT_Inverse_5_8,
  11.         oCredits_Inverse_5_9,
  12.         oMenu_Inverse_5_10,
  13.         oCredits_Yellow_Highlight_5_7,
  14.         oAMT_Yellow_Highlight_5_6,
  15.         oExit_Yellow_Highlight_5_11,
  16.         oMenu_Yellow_Highlight_5_12,
  17.         oS6_eddie_MOV_5_15,
  18.         oAI_CRD_RTF_5_16,
  19.         oAI_NF_RTF_5_17,
  20.         oAI_NF_RTF_FIRST_5_18,
  21.         oAI_AMT_RTF_5_19,
  22.         oLaunch_Netscape_5_20,
  23.         oOpen_URL_5_21,
  24.         oOpen_URL_5_22,
  25.         oOpen_URL_5_23
  26.     ];
  27. end;
  28.  
  29.  
  30. object oKeyboard_Volume__5_4 is cKeyboardHandler
  31. with
  32.     Behavior is cDefaultBehavior
  33.     has
  34.         KeyDown(theTarget, theKey)
  35.         use
  36.             KeyMatch;
  37.             
  38.             do
  39.                 KeyMatch := theKey = '-';
  40.                 if KeyMatch then
  41.                     theTarget.DoDefaultMethod := false;
  42.                 
  43.                     oSoundVolume.StepIndexBy(-1);
  44.                 end;
  45.                 KeyMatch := theKey = '=';
  46.                 if KeyMatch then
  47.                     theTarget.DoDefaultMethod := false;
  48.                 
  49.                     oSoundVolume.StepIndexBy(1);
  50.                 end;
  51.                 KeyMatch := theKey = '+';
  52.                 if KeyMatch then
  53.                     theTarget.DoDefaultMethod := false;
  54.                 
  55.                     oSoundVolume.StepIndexBy(1);
  56.                 end;
  57.                 KeyMatch := theKey = 'p';
  58.                 if KeyMatch then
  59.                     theTarget.DoDefaultMethod := false;
  60.                 
  61.                     oAI_CRD_RTF_5_16.Print();
  62.                 end;
  63.             end;
  64.         
  65.     with
  66.         Enabled is true; Shown is false; 
  67.         X is 30; Y is 24; Width is 0; Height is 0;
  68.     end;
  69. end;
  70.  
  71.  
  72. object oClick_Sound__Up__5_13 is cSoundHandler
  73. with
  74.     Supplier is oS3_2clk_WAV;
  75.     Behavior is cDefaultBehavior
  76.     has
  77.     with
  78.         Enabled is true; Shown is true; 
  79.         X is 247; Y is 128; Width is 32; Height is 24;
  80.     end;
  81. end;
  82.  
  83.  
  84. object oClick_Sound__down__5_14 is cSoundHandler
  85. with
  86.     Supplier is oS3_clk_WAV;
  87.     Behavior is cDefaultBehavior
  88.     has
  89.     with
  90.         Enabled is true; Shown is true; 
  91.         X is 304; Y is 228; Width is 32; Height is 24;
  92.     end;
  93. end;
  94.  
  95.  
  96. object oAI_BCK_PIC_5_5 is cPictureHandler
  97. with
  98.     Duration is -1;
  99.     Supplier is oAI_BCK_PIC;
  100.     Behavior is cDefaultBehavior
  101.     has
  102.     with
  103.         Enabled is false; Shown is true; 
  104.         X is 0; Y is 0; Width is 640; Height is 480;
  105.     end;
  106. end;
  107.  
  108.  
  109. object oAMT_Inverse_5_8 is cPictureHandler
  110. with
  111.     Duration is -1;
  112.     Supplier is oAI_AMTI_PIC;
  113.     Behavior is cDefaultBehavior
  114.     has
  115.         Offscreen(theTarget)
  116.             do
  117.                 theTarget.Show(false);
  118.                 theTarget.Enable(false);
  119.             end;
  120.         
  121.     with
  122.         Enabled is true; Shown is true; 
  123.         X is 406; Y is 438; Width is 113; Height is 42;
  124.     end;
  125. end;
  126.  
  127.  
  128. object oCredits_Inverse_5_9 is cPictureHandler
  129. with
  130.     Duration is -1;
  131.     Supplier is oAI_CRI_PIC;
  132.     Behavior is cDefaultBehavior
  133.     has
  134.         Offscreen(theTarget)
  135.             do
  136.                 theTarget.Show(false);
  137.                 theTarget.Enable(false);
  138.             end;
  139.         
  140.     with
  141.         Enabled is true; Shown is true; 
  142.         X is 299; Y is 438; Width is 95; Height is 42;
  143.     end;
  144. end;
  145.  
  146.  
  147. object oMenu_Inverse_5_10 is cPictureHandler
  148. with
  149.     Duration is -1;
  150.     Supplier is oS2_MNUI_PIC;
  151.     Behavior is cDefaultBehavior
  152.     has
  153.         Offscreen(theTarget)
  154.             do
  155.                 theTarget.Show(false);
  156.                 theTarget.Enable(false);
  157.             end;
  158.         
  159.     with
  160.         Enabled is true; Shown is true; 
  161.         X is 167; Y is 438; Width is 123; Height is 43;
  162.     end;
  163. end;
  164.  
  165.  
  166. object oCredits_Yellow_Highlight_5_7 is cPictureHandler
  167. with
  168.     Duration is -1;
  169.     Supplier is oAI_CRH_PIC;
  170.     Behavior is cDefaultBehavior
  171.     has
  172.         Offscreen(theTarget)
  173.             do
  174.                 theTarget.Show(false);
  175.             end;
  176.         
  177.         MouseEnter(theTarget, theX, theY)
  178.             do
  179.                 theTarget.Show(true);
  180.             end;
  181.         
  182.         MouseLeave(theTarget, theX, theY)
  183.             do
  184.                 theTarget.Show(false);
  185.             end;
  186.         
  187.         MouseDown(theTarget, theX, theY)
  188.             do
  189.                 theTarget.Show(false);
  190.                 oCredits_Inverse_5_9.Show(true);
  191.                 -- Turn off the spining cursor, if there is one
  192.                 if oBinder.MouseSpin<>void then
  193.                     if oBinder.MouseSpin.IsRunning() then
  194.                         oBinder.MouseSpin.Stop();
  195.                     end;
  196.                     oBinder.MouseSpin := void;
  197.                 end;
  198.                 theTarget.Container.OverrideCursor := true;
  199.                 oBinder.MouseSpin := oHandSpin;
  200.                 if (oBinder.MouseSpin @ 1).Data=void then
  201.                     oBinder.MouseSpin.EachUp(Load);
  202.                 end;
  203.                 if not oBinder.MouseSpin.IsRunning() then
  204.                     oBinder.MouseSpin.Start();
  205.                 end;
  206.                 oAI_CRD_RTF_5_16.Show(true);
  207.                 oAI_CRD_RTF_5_16.Enable(true);
  208.                 oAI_NF_RTF_5_17.Enable(true);
  209.                 oAI_NF_RTF_5_17.Show(true);
  210.                 oAI_NF_RTF_FIRST_5_18.Enable(false);
  211.                 oAI_NF_RTF_FIRST_5_18.Show(false);
  212.                 oAI_AMT_RTF_5_19.Show(false);
  213.                 oAI_AMT_RTF_5_19.Enable(false);
  214.                 oClick_Sound__down__5_14.Run(true);
  215.                 oBinder.Refresh();
  216.             end;
  217.         
  218.         MouseUp(theTarget, theX, theY)
  219.             do
  220.                 theTarget.Show(true);
  221.                 oCredits_Inverse_5_9.Show(false);
  222.                 -- Turn off the spining cursor, if there is one
  223.                 if oBinder.MouseSpin<>void then
  224.                     if oBinder.MouseSpin.IsRunning() then
  225.                         oBinder.MouseSpin.Stop();
  226.                     end;
  227.                     oBinder.MouseSpin := void;
  228.                 end;
  229.                 theTarget.Container.OverrideCursor := false;
  230.                 oBinder.Refresh();
  231.                 oClick_Sound__Up__5_13.Run(true);
  232.             end;
  233.         
  234.     with
  235.         Enabled is true; Shown is true; 
  236.         X is 296; Y is 425; Width is 100; Height is 56;
  237.     end;
  238. end;
  239.  
  240.  
  241. object oAMT_Yellow_Highlight_5_6 is cPictureHandler
  242. with
  243.     Duration is -1;
  244.     Supplier is oAI_AMTH_PIC;
  245.     Behavior is cDefaultBehavior
  246.     has
  247.         Offscreen(theTarget)
  248.             do
  249.                 theTarget.Show(false);
  250.             end;
  251.         
  252.         MouseEnter(theTarget, theX, theY)
  253.             do
  254.                 theTarget.Show(true);
  255.             end;
  256.         
  257.         MouseLeave(theTarget, theX, theY)
  258.             do
  259.                 theTarget.Show(false);
  260.             end;
  261.         
  262.         MouseDown(theTarget, theX, theY)
  263.             do
  264.                 theTarget.Show(false);
  265.                 oAMT_Inverse_5_8.Show(true);
  266.                 oAI_AMT_RTF_5_19.Show(true);
  267.                 oAI_AMT_RTF_5_19.Enable(true);
  268.                 -- Turn off the spining cursor, if there is one
  269.                 if oBinder.MouseSpin<>void then
  270.                     if oBinder.MouseSpin.IsRunning() then
  271.                         oBinder.MouseSpin.Stop();
  272.                     end;
  273.                     oBinder.MouseSpin := void;
  274.                 end;
  275.                 theTarget.Container.OverrideCursor := true;
  276.                 oBinder.MouseSpin := oHandSpin;
  277.                 if (oBinder.MouseSpin @ 1).Data=void then
  278.                     oBinder.MouseSpin.EachUp(Load);
  279.                 end;
  280.                 if not oBinder.MouseSpin.IsRunning() then
  281.                     oBinder.MouseSpin.Start();
  282.                 end;
  283.                 oAI_CRD_RTF_5_16.Show(false);
  284.                 oAI_NF_RTF_FIRST_5_18.Enable(false);
  285.                 oAI_NF_RTF_FIRST_5_18.Show(false);
  286.                 oAI_NF_RTF_5_17.Show(true);
  287.                 oAI_NF_RTF_5_17.Enable(true);
  288.                 oClick_Sound__down__5_14.Run(true);
  289.                 oBinder.Refresh();
  290.             end;
  291.         
  292.         MouseUp(theTarget, theX, theY)
  293.             do
  294.                 theTarget.Show(true);
  295.                 oAMT_Inverse_5_8.Show(false);
  296.                 -- Turn off the spining cursor, if there is one
  297.                 if oBinder.MouseSpin<>void then
  298.                     if oBinder.MouseSpin.IsRunning() then
  299.                         oBinder.MouseSpin.Stop();
  300.                     end;
  301.                     oBinder.MouseSpin := void;
  302.                 end;
  303.                 theTarget.Container.OverrideCursor := false;
  304.                 oBinder.Refresh();
  305.                 oClick_Sound__Up__5_13.Run(true);
  306.             end;
  307.         
  308.     with
  309.         Enabled is true; Shown is true; 
  310.         X is 403; Y is 426; Width is 118; Height is 54;
  311.     end;
  312. end;
  313.  
  314.  
  315. object oExit_Yellow_Highlight_5_11 is cPictureHandler
  316. with
  317.     Duration is -1;
  318.     Supplier is oS2_ETYH_PIC;
  319.     Behavior is cDefaultBehavior
  320.     has
  321.         Offscreen(theTarget)
  322.             do
  323.                 theTarget.Show(false);
  324.             end;
  325.         
  326.         MouseEnter(theTarget, theX, theY)
  327.             do
  328.                 theTarget.Show(true);
  329.             end;
  330.         
  331.         MouseLeave(theTarget, theX, theY)
  332.             do
  333.                 theTarget.Show(false);
  334.             end;
  335.         
  336.         MouseDown(theTarget, theX, theY)
  337.             do
  338.                 theTarget.Show(false);
  339. --                ?.Show(true);
  340.                 -- Turn off the spining cursor, if there is one
  341.                 if oBinder.MouseSpin<>void then
  342.                     if oBinder.MouseSpin.IsRunning() then
  343.                         oBinder.MouseSpin.Stop();
  344.                     end;
  345.                     oBinder.MouseSpin := void;
  346.                 end;
  347.                 theTarget.Container.OverrideCursor := true;
  348.                 oBinder.MouseSpin := oHandSpin;
  349.                 if (oBinder.MouseSpin @ 1).Data=void then
  350.                     oBinder.MouseSpin.EachUp(Load);
  351.                 end;
  352.                 if not oBinder.MouseSpin.IsRunning() then
  353.                     oBinder.MouseSpin.Start();
  354.                 end;
  355.                 oClick_Sound__down__5_14.Run(true);
  356.                 oBinder.Refresh();
  357.             end;
  358.         
  359.         MouseUp(theTarget, theX, theY)
  360.             do
  361.                 theTarget.Show(true);
  362. --                ?.Show(false);
  363.                 oClick_Sound__Up__5_13.Run(true);
  364.                 -- Turn off the spining cursor, if there is one
  365.                 if oBinder.MouseSpin<>void then
  366.                     if oBinder.MouseSpin.IsRunning() then
  367.                         oBinder.MouseSpin.Stop();
  368.                     end;
  369.                     oBinder.MouseSpin := void;
  370.                 end;
  371.                 theTarget.Container.OverrideCursor := false;
  372.                 oBinder.Refresh();
  373.                 oBinder.Quit();
  374.             end;
  375.         
  376.     with
  377.         Enabled is true; Shown is true; 
  378.         X is 528; Y is 426; Width is 111; Height is 54;
  379.     end;
  380. end;
  381.  
  382.  
  383. object oMenu_Yellow_Highlight_5_12 is cPictureHandler
  384. with
  385.     Duration is -1;
  386.     Supplier is oS2_MNUYH_PIC;
  387.     Behavior is cDefaultBehavior
  388.     has
  389.         Offscreen(theTarget)
  390.             do
  391.                 theTarget.Show(false);
  392.             end;
  393.         
  394.         MouseEnter(theTarget, theX, theY)
  395.             do
  396.                 theTarget.Show(true);
  397.             end;
  398.         
  399.         MouseLeave(theTarget, theX, theY)
  400.             do
  401.                 theTarget.Show(false);
  402.             end;
  403.         
  404.         MouseDown(theTarget, theX, theY)
  405.             do
  406.                 theTarget.Show(false);
  407.                 oMenu_Inverse_5_10.Show(true);
  408.                 -- Turn off the spining cursor, if there is one
  409.                 if oBinder.MouseSpin<>void then
  410.                     if oBinder.MouseSpin.IsRunning() then
  411.                         oBinder.MouseSpin.Stop();
  412.                     end;
  413.                     oBinder.MouseSpin := void;
  414.                 end;
  415.                 theTarget.Container.OverrideCursor := true;
  416.                 oBinder.MouseSpin := oHandSpin;
  417.                 if (oBinder.MouseSpin @ 1).Data=void then
  418.                     oBinder.MouseSpin.EachUp(Load);
  419.                 end;
  420.                 if not oBinder.MouseSpin.IsRunning() then
  421.                     oBinder.MouseSpin.Start();
  422.                 end;
  423.                 oBinder.Refresh();
  424.                 oClick_Sound__down__5_14.Run(true);
  425.             end;
  426.         
  427.         MouseUp(theTarget, theX, theY)
  428.             do
  429.                 theTarget.Show(true);
  430.                 oMenu_Inverse_5_10.Show(false);
  431.                 -- Turn off the spining cursor, if there is one
  432.                 if oBinder.MouseSpin<>void then
  433.                     if oBinder.MouseSpin.IsRunning() then
  434.                         oBinder.MouseSpin.Stop();
  435.                     end;
  436.                     oBinder.MouseSpin := void;
  437.                 end;
  438.                 theTarget.Container.OverrideCursor := false;
  439.                 oBinder.Refresh();
  440.                 oClick_Sound__Up__5_13.Run(true);
  441.                 oBinder.Goto(oMain_Menu_1);
  442.             end;
  443.         
  444.     with
  445.         Enabled is true; Shown is true; 
  446.         X is 163; Y is 427; Width is 126; Height is 53;
  447.     end;
  448. end;
  449.  
  450.  
  451. object oS6_eddie_MOV_5_15 is cVRObjHandler
  452. with
  453.     Supplier is oS6_EDDY_MOV;
  454.     Behavior is cDefaultBehavior
  455.     has
  456.         Onscreen(theTarget)
  457.             do
  458.                 theTarget.Show(true);
  459.             end;
  460.         
  461.     with
  462.         Enabled is true; Shown is false; 
  463.         X is 541; Y is 239; Width is 80; Height is 120;
  464.     end;
  465. end;
  466.  
  467.  
  468. object oAI_CRD_RTF_5_16 is cTextScrollerHandler
  469. with
  470.     Red is 255; Green is 255; Blue is 255;
  471.     Duration is -1;
  472.     Transparent is true;
  473.     Margin is 6;
  474.     Supplier is oAI_CRD_RTF;
  475.     Behavior is cDefaultBehavior
  476.     has
  477.     with
  478.         Enabled is false; Shown is false; 
  479.         X is 178; Y is 294; Width is 255; Height is 120;
  480.     end;
  481. end;
  482.  
  483.  
  484. object oAI_NF_RTF_5_17 is cTextScrollerHandler
  485. with
  486.     Red is 255; Green is 255; Blue is 255;
  487.     Duration is -1;
  488.     Transparent is true;
  489.     Margin is 6;
  490.     Supplier is oAI_NF_RTF;
  491.     Behavior is cDefaultBehavior
  492.     has
  493.     with
  494.         Enabled is false; Shown is false; 
  495.         X is 178; Y is 19; Width is 255; Height is 260;
  496.     end;
  497. end;
  498.  
  499.  
  500. object oAI_NF_RTF_FIRST_5_18 is cTextScrollerHandler
  501. with
  502.     Red is 255; Green is 255; Blue is 255;
  503.     Duration is -1;
  504.     Transparent is true;
  505.     Margin is 6;
  506.     Supplier is oAI_NF_RTF;
  507.     Behavior is cDefaultBehavior
  508.     has
  509.     with
  510.         Enabled is true; Shown is true; 
  511.         X is 178; Y is 19; Width is 255; Height is 394;
  512.     end;
  513. end;
  514.  
  515.  
  516. object oAI_AMT_RTF_5_19 is cTextScrollerHandler
  517. with
  518.     Red is 255; Green is 255; Blue is 255;
  519.     Duration is -1;
  520.     Transparent is true;
  521.     Margin is 6;
  522.     Supplier is oAI_AMT_RTF;
  523.     Behavior is cDefaultBehavior
  524.     has
  525.         TextSelected(theTarget, theHotText)
  526.         use
  527.             HitText;
  528.             
  529.             do
  530.                 HitText :=  (theHotText - "here,")=0;
  531.                 if HitText then
  532.                     theTarget.DoDefaultMethod := false;
  533.                 
  534.                     
  535.                     oLaunch_Netscape_5_20.StoredLaunch(false,"", "", "", "", "Select your Web browser of choice");
  536.                     
  537.                 end;
  538.                 HitText :=  (theHotText - "http://amt.apple.com\$0D")=0;
  539.                 if HitText then
  540.                     theTarget.DoDefaultMethod := false;
  541.                 
  542.                     
  543.                     oOpen_URL_5_21.OpenURL("http://amt.apple.com");
  544.                 end;
  545.                 HitText :=  (theHotText - "http://www.devworld.apple.com/dev/du.shtml ")=0;
  546.                 if HitText then
  547.                     theTarget.DoDefaultMethod := false;
  548.                 
  549.                     
  550.                     oOpen_URL_5_22.OpenURL("http://devworld.apple.com/dev/du.shtml");
  551.                 end;
  552.                 HitText :=  (theHotText - "adc@applelink.apple.com")=0;
  553.                 if HitText then
  554.                     theTarget.DoDefaultMethod := false;
  555.                 
  556.                     
  557.                     oOpen_URL_5_23.OpenURL("mailto:adc@applelink.apple.com");
  558.                 end;
  559.             end;
  560.         
  561.     with
  562.         Enabled is false; Shown is false; 
  563.         X is 178; Y is 294; Width is 255; Height is 120;
  564.     end;
  565. end;
  566.  
  567.  
  568. object oLaunch_Netscape_5_20 is cApplicationLauncher
  569. with
  570.     DDEServerList is ["NETSCAPE","IEXPLORE", "MOSAIC"];
  571.     Behavior is cDefaultBehavior
  572.     has
  573.     with
  574.         Enabled is false; Shown is false; 
  575.         X is 0; Y is 0; Width is 0; Height is 0;
  576.     end;
  577. end;
  578.  
  579.  
  580. object oOpen_URL_5_21 is cApplicationLauncher
  581. with
  582.     DDEServerList is ["NETSCAPE","IEXPLORE", "MOSAIC"];
  583.     Behavior is cDefaultBehavior
  584.     has
  585.     with
  586.         Enabled is false; Shown is false; 
  587.         X is 0; Y is 0; Width is 0; Height is 0;
  588.     end;
  589. end;
  590.  
  591.  
  592. object oOpen_URL_5_22 is cApplicationLauncher
  593. with
  594.     DDEServerList is ["NETSCAPE","IEXPLORE", "MOSAIC"];
  595.     Behavior is cDefaultBehavior
  596.     has
  597.     with
  598.         Enabled is false; Shown is false; 
  599.         X is 0; Y is 0; Width is 0; Height is 0;
  600.     end;
  601. end;
  602.  
  603.  
  604. object oOpen_URL_5_23 is cApplicationLauncher
  605. with
  606.     DDEServerList is ["NETSCAPE","IEXPLORE", "MOSAIC"];
  607.     Behavior is cDefaultBehavior
  608.     has
  609.     with
  610.         Enabled is false; Shown is false; 
  611.         X is 0; Y is 0; Width is 0; Height is 0;
  612.     end;
  613. end;
  614.  
  615.